<?php
$this->sendDebugMessage('login model start');
$u=new User();
$u->login($data->para->userName,$data->para->userPass,$ip);

$response = new Response();
$response->event = "SE_LOGIN_SUCCESS";
$response->body = '{"user":'.$this->userCenter->userList[$ip].',"server":'.$this->userCenter->getRoomList().'}';
$this->sendData($ip,$response , true );
$this->sendDebugMessage('login model end');
?>